home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
- // Uncopyrighted by Eric Celeste, 1991 <efc@mit.edu>
-
- #import <appkit/ScrollView.h>
- #import <appkit/Text.h>
-
- @interface ScrollTextField:ScrollView
- {
- id nextText;
- id textDelegate;
- id myText, previousText;
- float bgGray, txtGray;
- int border;
- BOOL selectable, editable, monofont;
- char *myString;
- }
-
- // BIRTH, DEATH, & REBIRTH
- - initFrame:(NXRect *)frameRect;
- - awake;
- - newText:(const NXRect *)frameRect;
- - (const char *)inspectorName;
- - free;
- - read:(NXTypedStream*)stream;
- - write:(NXTypedStream*)stream;
-
- // INSTANCE VARIABLES
- - setBackgroundGray:(float)g;
- - (float)backgroundGray;
- - setTextGray:(float)g;
- - (float)textGray;
- - setBorderType:(int)x;
- - (int)borderType;
- - setSelectable:(BOOL)x;
- - (BOOL)isSelectable;
- - setEditable:(BOOL)x;
- - (BOOL)isEditable;
- - setMonofont:(BOOL)x;
- - (BOOL)isMonofont;
- - setTag:(int)anInt;
- - (int)tag;
- - setPreviousText:anObject;
- - setNextText:anObject;
-
- // DOCVIEW TEXT
- - setStringValue:(const char *)string;
- - (const char *)stringValue;
- - selectText:sender;
-
- // TEXT DELEGATE DUTIES
- - textDidEnd:sender endChar:(unsigned short)whyEnd;
- - (BOOL)textWillEnd:textObject;
- - (BOOL)textWillChange:textObject;
- - textDidChange:textObject;
- - textDidGetKeys:textObject isEmpty:(BOOL)flag;
-
- // UTILITIES
- unsigned short ScrollingTextFilter(unsigned short theChar, int flags);
-
- // TARGET-ACTION
- /* --------------------------- comment out begins -------------
- - setTarget:(id)anObject;
- - setAction:(SEL)aSelector;
- - takeStringValueFrom:sender;
- --------------------------- comment out begins -------------*/
-
-
- @end
-